package com.Pojo;

import java.io.Serializable;
import java.util.List;

/**
 * Created by XingYang on 2019/3/6.
 */
public class User implements Serializable {
    private String id;
    private String username;
    private String password;
    private String nickname;
    private String profile;
    private String mainaccount;
    private String manageraccount;
    private String phone;
    private String email;
    private String effect;
    private String createtime;
    private String lasttime;

    public String getDeletedstate() {
        return deletedstate;
    }

    public void setDeletedstate(String deletedstate) {
        this.deletedstate = deletedstate;
    }

    private String deletedstate;
    private List<String> roles ;
    private List<String> powers;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getProfile() {
        return profile;
    }

    public void setProfile(String profile) {
        this.profile = profile;
    }

    public String getMainaccount() {
        return mainaccount;
    }

    public void setMainaccount(String mainaccount) {
        this.mainaccount = mainaccount;
    }

    public String getManageraccount() {
        return manageraccount;
    }

    public void setManageraccount(String manageraccount) {
        this.manageraccount = manageraccount;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getEffect() {
        return effect;
    }

    public void setEffect(String effect) {
        this.effect = effect;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    public String getLasttime() {
        return lasttime;
    }

    public void setLasttime(String lasttime) {
        this.lasttime = lasttime;
    }

    public List<String> getRoles() {
        return roles;
    }

    public void setRoles(List<String> roles) {
        this.roles = roles;
    }

    public List<String> getPowers() {
        return powers;
    }

    public void setPowers(List<String> powers) {
        this.powers = powers;
    }

    @Override
    public String toString() {
        return "User{" +
                "id='" + id + '\'' +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", nickname='" + nickname + '\'' +
                ", profile='" + profile + '\'' +
                ", mainaccount='" + mainaccount + '\'' +
                ", manageraccount='" + manageraccount + '\'' +
                ", phone='" + phone + '\'' +
                ", email='" + email + '\'' +
                ", effect='" + effect + '\'' +
                ", createtime='" + createtime + '\'' +
                ", lasttime='" + lasttime + '\'' +
                ", deletedstate='" + deletedstate + '\'' +
                ", roles=" + roles +
                ", powers=" + powers +
                '}';
    }
}
